# Contributor: David Demelier <markand@malikania.fr>
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=libretro-snes9x
pkgver=0_git20200106
pkgrel=0
_commit="6db918cfe32b157239da44096091c212fdfb3b60"
pkgdesc="Super Nintendo Entertainment System core for libretro"
url="https://github.com/libretro/snes9x"
arch="all"
license="custom"
source="$pkgname-$_commit.tar.gz::https://github.com/libretro/snes9x/archive/$_commit.tar.gz"
builddir="$srcdir/snes9x-$_commit"
options="!check" # No tests

build() {
	make -C libretro
}

package() {
	install -Dm644 libretro/snes9x_libretro.so "$pkgdir"/usr/lib/libretro/snes9x_libretro.so
}

sha512sums="2a33e89ee2cb86113138833f5aaaf880d4a6bb325764f3bd4bf999e78bf0bd7a8633c2d521fdf7920b4c60c3e4eb397a354b72666675669bc3a4338d6bd5a431  libretro-snes9x-6db918cfe32b157239da44096091c212fdfb3b60.tar.gz"
